Designing Synchronous Counters Using D Flip Flops